#include <bits/stdc++.h>
using namespace std;

void asterisk(int n){
	for(int i=0;i<n;i++)putchar('*');
	return;
}
void circle(int n){
	for(int i=0;i<n;i++)putchar('o');
	return;
}
void line(void){
	cout<<"--";
}
void couple(int n){
	for(int i=0;i<n;i++){putchar('o');putchar('*');}
	return;
}
int main(void){
	int n=0;
	cin>>n;
	for(int i=n;true;){
		if(i==3){
			cout<<"ooo*o**--*";
			couple(n-4);
			cout<<endl<<"o--*o**oo*";
			couple(n-4);
			cout<<endl<<"o*o*o*--o*";
			couple(n-4);
			cout<<endl<<"--o*o*o*o*";
			couple(n-4);
			break;
		}
		circle(i);
		asterisk(i);
		line();
		couple(n-i);
		putchar('\n');

		i--;
		circle(i);
		line();
		asterisk(i);
		couple(n-i);
		putchar('\n');
	}
	return 0;
}